package mill.components;

import java.util.Date;

public class Wing extends MillComponent{

	private int m_pitchAngle;
	private int m_length;
	
	public Wing(Date commisionDate, String manufacture, int lenght) {
		super(commisionDate, manufacture);
		
		m_length = lenght;
		m_pitchAngle = 0;
	}

	public synchronized int get_pitchAngle() {
		return m_pitchAngle;
	}

	public synchronized void set_pitchAngle(int angle) {
		m_pitchAngle = angle;
	}

	public synchronized int get_length() {
		return m_length;
	}

	@Override
	public String toString()
	{
		return "Wing";
	}
	
}
